package com.xixibaby.message;

import com.xixibaby.core.message.AsynExcuteHandler;
import com.xixibaby.message.channel.controller.ControllerHandler;
import com.xixibaby.message.channel.dingding.DingdingHandler;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author tomj
 */
@Configuration
public class MessageAutoConfiguration {

    @Bean
    public DingdingHandler dingdingService(){
        return new DingdingHandler();
    }
    //
//    @Bean
//    public ControllerHandler controllerService(){
//        return new ControllerHandler();
//    }

    @Bean
    public AsynExcuteHandler asynExcuteHandler(){
        return new AsynExcuteHandler();
    }


//    @Bean
//    public MessageKit messageKit(){
//        return new MessageKit();
//    }
}
